package org.fanjr.simplify.rest.autoconfigure;

import org.fanjr.simplify.rest.factory.SimplifyRestSmartInitializing;
import org.fanjr.simplify.rest.factory.SimplifyServerFactoryProcessor;
import org.fanjr.simplify.rest.factory.SimplifyServerPostProcessor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SimplifyRestConfiguration {

	@Bean
	public static SimplifyServerFactoryProcessor simplifyServerFactoryProcessor() {
		return new SimplifyServerFactoryProcessor();
	}

	@Bean
	public static SimplifyServerPostProcessor simplifyServerPostPorcessor() {
		return new SimplifyServerPostProcessor();
	}

	@Bean
	public static SimplifyRestSmartInitializing simplifyRestSmartInitializing() {
		return new SimplifyRestSmartInitializing();
	}

}
